package vip.mall.modular.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import vip.mall.modular.user.entity.User;
import vip.mall.modular.user.params.UserPageParams;

import java.util.List;

/**
 * @author ASUS
 * @Date 2025/2/10 10:11
 * @Descripition
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {
    List<User> selectDeleteUser(UserPageParams userPageParams, Integer pageStart, Integer pageSize);

    Long selectDeleteUserCount(UserPageParams userPageParams);

    boolean deleteUser(@Param("userId") String userId);
}
